<?php

use yii\db\Migration;

/**
 * Handles adding columns to table `{{%donor}}`.
 */
class m221114_120054_add_coop_contract_filename_column_to_donor_table extends Migration
{
    /**
     * {@inheritdoc}
     */
    public function safeUp()
    {
        $this->addColumn('{{%donor}}', 'coop_contract_filename', $this->string());
    }

    /**
     * {@inheritdoc}
     */
    public function safeDown()
    {
        $this->dropColumn('{{%donor}}', 'coop_contract_filename');
    }
}
